﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [Table("LMS_T_Folder")]
    public class Folder
    {
        [Key]
        [Column("folderID")]
        public Guid ID { get; set; }

        [Column("name")]
        public string Name { get; set; }

        [Column("owner")]
        public string UserID { get; set; }

        [Column("path")]
        public string Path { get; set; }

        [Column("parentID")]
        public Guid ParentID { get; set; }

        [Column("createTime")]
        public DateTime CreateTime { get; set; }

        [Column("isRoot")]
        public bool IsRoot { get; set; }
    }
}
